User Guide > How To ... > Set Page Orientation |
You have the option to set the parameters for orientation. The orientation parameter determines how the ocr engine will recognize images that are rotated.
In the code snippet example below, the page orientation is set to UPRIGHT:
Copy Code | |
---|---|
// Set page orientation to upright. params = { orientation: 'upright' }; |
There are 3 options to set the orientation value:
Original Image 90° |
Output PDF 90° |
Original Image 180° |
Output PDF 180° |
Original Image 90° |
Output PDF |
Original Image |
Output PDF |
Please be aware, if the original image is not upright and you set the orientation to UPRIGHT, then the OCR output will be incorrect. |